package com.pcitc.example.bean;

import org.springframework.jdbc.datasource.lookup.AbstractRoutingDataSource;
import org.springframework.lang.Nullable;

public class MyRoutingDataSource extends AbstractRoutingDataSource{

	@Nullable
	@Override
	protected Object determineCurrentLookupKey(){
		return DBContextHolder.get();
	}
}
